Treating Bugs as Allergies: A Safe Method for Surviving Software Failures

نویسندگان

  • Feng Qin
  • Joseph Tucek
  • Yuanyuan Zhou
چکیده

Many applications demand availability. Unfortunately, software failures greatly reduce system availability. Previous approaches for surviving software failures suffer from several limitations, including requiring application restructuring, failing to address deterministic software bugs, unsafely speculating on program execution, and requiring a long recovery time. This paper proposes an innovative, safe technique, called Rx, that can quickly recover programs from many types of common software bugs, both deterministic and non-deterministic. Our idea, inspired by allergy treatment in real life, is to rollback the program to a recent checkpoint upon a software failure, and then to reexecute the program in a modified environment. We base this idea on the observation that many bugs are correlated with the execution environment, and therefore can be avoided by removing the “allergen” from the environment. Rx requires few to no modifications to applications and provides programmers with additional feedback for bug diagnosis.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Poster: Targeted Therapy for Program Bugs

Program bugs widely exist and render software faulty and vulnerable. Existing systems for surviving software failures and attacks are mostly like chemotherapy, a cancer therapy that causes severe adverse side effects because of imprecise treatments. We propose Software Targeted Therapy, a new model for surviving software failures and attacks due to program bugs, that characterizes cancer-cells-...

متن کامل

Systematic Testing of Refactoring Engines on Real Software Projects

Testing refactoring engines is a challenging problem that has gained recent attention in research. Several techniques were proposed to automate generation of programs used as test inputs and to help developers in inspecting test failures. However, these techniques can require substantial effort for writing test generators or finding unique bugs, and do not provide an estimate of how reliable re...

متن کامل

Management of Food Allergy

Although food allergy is a major public health problem, currently there is no effective and safe treatment except to avoid the foods .But the need for new options is critical now as the number of children diagnosed with food allergies rises. Avoiding the offending allergen in the diet is the primary treatment of food allergy. Once a food to which the patient is sensitive has been identified, th...

متن کامل

AVATARs for Pennies: Cheap N-version Programming for Replication

Software systems fail; distributed systems fail in worse ways [20]. The causes of failures can be varied, including device and hardware failures, software bugs, memory errors, and complexity of protocols. Some lead to fail-stop errors that bring the system (or a single node) down, while others lead to more insidious fail-stutter [2] or fail-silent errors that cause unexpected behavior. Many too...

متن کامل

Automatic hardening against dependability and security software bugs

It is a fact that software has bugs. These bugs can lead to failures. Especially dependability and security failures are a great threat to software users. This thesis introduces four novel approaches that can be used to automatically harden software at the user’s site. Automatic hardening removes bugs from already deployed software. All four approaches are automated, i.e., they require little s...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005